import 'package:flutter_base/common/entitys/role_list_by_user_entity.dart';
import 'package:flutter_base/global.dart';

class Role {
  Map roleMap = {
    '财务管理': '016',
    '主管会计': '0171',
    '出纳': '0172',
  };

  // static bool isRole(String roleCode) {
  //   return Global.roleList.data!
  //       .any((RoleListByUserEntityData? e) => e!.roles!.roleCode == roleCode);
  // }
}
